#ROOTFS_DIR = /nfs/rootfs

ifeq ($(KERNELRELEASE), )

KERNEL_DIR = /home/chh/mount/kernel/linux-4.14.78
#KERNEL_DIR = /lib/modules/`uname -r`/build

CUR_DIR = $(shell pwd)

all:
	make -C $(KERNEL_DIR) M=$(CUR_DIR) modules
clean:
	make -C $(KERNEL_DIR) M=$(CUR_DIR) clean
install:
	cp -raf *.ko $(KERNEL_DIR)/kmodules
else
obj-m += list_test.o


endif
